﻿<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <CodeSnippet Format="1.0.0">
    <Header>
      <SnippetTypes>
        <SnippetType>Expansion</SnippetType>
      </SnippetTypes>
      <Title>wcmd</Title>
      <Author>singba</Author>
      <Description>
      </Description>
      <HelpUrl>
      </HelpUrl>
      <Shortcut>wcmd</Shortcut>
    </Header>
    <Snippet>
      <Declarations>
        <Literal Editable="true">
          <ID>name</ID>
          <ToolTip>name</ToolTip>
          <Default>name</Default>
          <Function>
          </Function>
        </Literal>
      </Declarations>
      <Code Language="csharp"><![CDATA[#region $name$Command
        private RelayCommand _$name$Command = null;
        public RelayCommand $name$Command
        {
            get
            {
                if (_$name$Command == null)
                {
                    _$name$Command = new RelayCommand(On$name$, Can$name$);
                }
                return _$name$Command;
            }
        }

        private bool Can$name$(object parameter)
        {
            return true;
        }

        private void On$name$(object parameter)
        {
            $end$
        } 
        #endregion]]></Code>
    </Snippet>
  </CodeSnippet>
</CodeSnippets>